package com.sonicvision.resourcetracker.employee;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "EMPLOYEE_DOCUMENTS")
@SequenceGenerator(name = "employeeDocumentIdGenerator", sequenceName = "employee_doc_id_seq", allocationSize = 1)
public class EmployeeDocuments {

	@Id
	@Column
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "employeeDocumentIdGenerator")
	private int document_Id;

	@Column
	private String document;

	@Column
	private String document_type;

	public EmployeeDocuments() {
		super();
	}

	public EmployeeDocuments(int document_Id, String document,
			String document_type) {
		super();
		this.document_Id = document_Id;
		this.document = document;
		this.document_type = document_type;
	}

	public int getDocument_Id() {
		return document_Id;
	}

	public String getDocument() {
		return document;
	}

	public String getDocument_type() {
		return document_type;
	}

	public void setDocument_Id(int document_Id) {
		this.document_Id = document_Id;
	}

	public void setDocument(String document) {
		this.document = document;
	}

	public void setDocument_type(String document_type) {
		this.document_type = document_type;
	}

}
